// 嵌套路由children
export default [
  {
    path: '/children',
    component: () => import('@/views/children/Nesting.vue'),
    children: [
      {
        // 请求/children时映射到Nesting组件，并将<RouterView/>部分替换为NestingChildrenRoot
        path: '',
        component: () => import('@/views/children/NestingChildrenRoot.vue'),
      },
      {
        // 请求/children-a时映射到Nesting组件，并将<RouterView/>部分替换为NestingChildrenA
        path: '/children-a',
        component: () => import('@/views/children/NestingChildrenA.vue'),
      },
      {
        // 请求/children-b时映射到Nesting组件，并将<RouterView/>部分替换为NestingChildrenB
        path: '/children-b',
        component: () => import('@/views/children/NestingChildrenB.vue'),
      },
    ]
  }
];